package com.sams.mapper;

import com.sams.entity.NoticeShowinfo;
import com.sams.entity.NoticeShowinfoExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface NoticeShowinfoMapper {
    long countByExample(NoticeShowinfoExample example);

    int deleteByExample(NoticeShowinfoExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(NoticeShowinfo record);

    int insertSelective(NoticeShowinfo record);

    List<NoticeShowinfo> selectByExample(NoticeShowinfoExample example);

    NoticeShowinfo selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") NoticeShowinfo record, @Param("example") NoticeShowinfoExample example);

    int updateByExample(@Param("record") NoticeShowinfo record, @Param("example") NoticeShowinfoExample example);

    int updateByPrimaryKeySelective(NoticeShowinfo record);

    int updateByPrimaryKey(NoticeShowinfo record);
    
    List<NoticeShowinfo> selectUserName(NoticeShowinfo showinfo);

	List<NoticeShowinfo> selectSchoolNameByXZId(NoticeShowinfo info);
}